package cn.netswap.jeegorilla.framework.security.social.weixin.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

/**
 * @author lgw
 * @version 1.0
 * @date 2020/3/24 12:09
 */
@Primary
@Component
@ConfigurationProperties(prefix = "social.weixin")
public class WeiXinProperties {

    private String providerId = "weixin";
    private String appId;
    private String appSecret;

    public String getProviderId() {
        return providerId;
    }

    public void setProviderId(String providerId) {
        this.providerId = providerId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }


}
